
from django.urls import path
from users.views import CheckUserName,CheckMobile,GenerateImgCode,CheckImageCode,UserRegister,Login
urlpatterns = [
    # 校验用户名是否重复
    path("check/username/<str:username>/",CheckUserName.as_view()),
    # 校验手机号是否重复
    path("check/mobile/<str:mobile>/",CheckMobile.as_view()),
    path("image_code/<uuid:img_id>/",GenerateImgCode.as_view()),
    path("check_image_code/",CheckImageCode.as_view()),
    path('register/',UserRegister.as_view()),
    # path('login/',Login.as_view())
]
